/*
 * Copyright(c) 2018-? the original author[Wien(luweien@aliyun.com)] or authors.
 *
 */
package org.doll.it.base.util;

import org.doll.it.base.enums.StatusEnum;

/**
 * 数据状态枚举工具类
 * 
 * @author Wien(luweien@aliyun.com)
 *
 */
public class StatusUtils {

	/**
	 * 状态是否正常
	 * @param status
	 * @return
	 */
	public static boolean isNoraml(StatusEnum status) {
		return status == null || StatusEnum.NORMAL.getCode() == status.getCode();
	}
}
